//
//  WBLoadMoreFooter.m
//  weibo
//
//  Created by 沈振邦 on 15/6/10.
//  Copyright (c) 2015年 szb. All rights reserved.
//

#import "WBLoadMoreFooter.h"

@interface WBLoadMoreFooter()
@property (weak,nonatomic) IBOutlet UILabel *statusLabel;
@property (weak,nonatomic) IBOutlet UIActivityIndicatorView *loadView;
@end

@implementation WBLoadMoreFooter
+ (instancetype)footer
{
    return [[[NSBundle mainBundle] loadNibNamed:@"WBLoadMoreFooter" owner:nil options:nil] lastObject];
}

- (void)beginRefreshing
{
    self.statusLabel.text = @"正在拼命加载数据";
    [self.loadView startAnimating];
    self.refreshing = YES;
}

- (void)endrefresh
{
    self.statusLabel.text = @"上拉可以刷出更多";
    [self.loadView stopAnimating];
    self.refreshing = NO;
}
@end
